import React, { Suspense } from "react"
import { createBrowserRouter, Navigate } from "react-router-dom"
import Login from '../pages/Login'
import Shou from "../pages/Shou"
import Shopcar from "../pages/Shopcar"
import Biao from "../pages/Biao"


const router = createBrowserRouter([
    { path: '/', element: <Login></Login> },
    {
        path: '/shou/', element: <Shou></Shou>, children: [
            { path: 'biao', element: <Biao></Biao> },
            { path: 'shopcar', element: <Shopcar></Shopcar> }
        ]
    },

])
export default router